package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 道具表对象 tc_course_tool
 * 
 * @author qiufeng
 * @date 2022-04-24
 */
public class CourseTool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /** 道具备注 */
    @Excel(name = "道具备注")
    private String comment;

    /** 道具數量 */
    @Excel(name = "道具數量")
    private Long count;

    /** 道具图片数量 */
    @Excel(name = "道具图片数量")
    private Long imgCount;

    /** 道具图片 */
    @Excel(name = "道具图片")
    private String imgUrl;

    /** 道具名字 */
    @Excel(name = "道具名字")
    private String title;

    /** 道具单位 */
    @Excel(name = "道具单位")
    private String unit;

    /** 推荐购买链接 */
    @Excel(name = "推荐购买链接")
    private String url;

    /** 课程ID */
    @Excel(name = "课程ID")
    private String vendorCourseId;

    /** 教具应用 */
    @Excel(name = "教具应用目标")
    private String application;

    /** 教具应用类 */
    @Excel(name = "教具应用使用方式及建议")
    private String applicationType;

    /** 资源归属 */
    @Excel(name = "资源归属")
    private String ascription;

    /** 月龄阶段 */
    @Excel(name = "月龄阶段")
    private String monthAge;

    @Excel(name = "类型")
    private String type;

    private String parentId;

    @Excel(name = "封面")
    private String  cover;

    @Excel(name = "封面类型")
    private String  coverType;


    @Excel(name = "创建人")
    private String createdBy;

    @Excel(name = "创建人名称")
    private String createdName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setImgCount(Long imgCount) 
    {
        this.imgCount = imgCount;
    }

    public Long getImgCount() 
    {
        return imgCount;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setVendorCourseId(String vendorCourseId) 
    {
        this.vendorCourseId = vendorCourseId;
    }

    public String getVendorCourseId() 
    {
        return vendorCourseId;
    }
    public void setApplication(String application) 
    {
        this.application = application;
    }

    public String getApplication() 
    {
        return application;
    }
    public void setApplicationType(String applicationType) 
    {
        this.applicationType = applicationType;
    }

    public String getApplicationType() 
    {
        return applicationType;
    }
    public void setAscription(String ascription) 
    {
        this.ascription = ascription;
    }

    public String getAscription() 
    {
        return ascription;
    }
    public void setMonthAge(String monthAge) 
    {
        this.monthAge = monthAge;
    }

    public String getMonthAge() 
    {
        return monthAge;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getCoverType() {
        return coverType;
    }

    public void setCoverType(String coverType) {
        this.coverType = coverType;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("comment", getComment())
            .append("count", getCount())
            .append("imgCount", getImgCount())
            .append("imgUrl", getImgUrl())
            .append("title", getTitle())
            .append("unit", getUnit())
            .append("url", getUrl())
            .append("vendorCourseId", getVendorCourseId())
            .append("application", getApplication())
            .append("applicationType", getApplicationType())
            .append("ascription", getAscription())
            .append("monthAge", getMonthAge())
            .toString();
    }
}
